package com.yxh.lib_base.ext.databinding

import android.widget.TextView
import androidx.databinding.BindingAdapter

/**
 * @作者：yuan_xh
 * @时间：2022/8/21 8:01
 * @描述：
 **/
object TextViewDataBindingAdapter {
    @JvmStatic
    @BindingAdapter(value = ["isFakeBoldText"])
    fun isFakeBoldText(textView : TextView, isFakeBold :Boolean){
        textView.paint.isFakeBoldText=isFakeBold
    }

}